package com.progark.sound.model;

public class Player {
	
	private int score, highscore, turnsUsed, hintsUsed;
	private String name;
	
	public Player(String name) {
		this.name = name;
		score = 0;
		turnsUsed = 0;
		hintsUsed = 0;
	}

	public int getScore() {
		return score;
	}
	
	public String getName() {
		return name;
	}

	public int getHighscore() { //Fjerne denne?
		return highscore;
	}

	public int getTurnsUsed() {
		return turnsUsed;
	}

	public int getHintsUsed() {
		return hintsUsed;
	}
	
	public void addToScore(int i){
		score += i;
	}
	
	public void increaseHintsUsed(){
		hintsUsed ++;
	}
	
	public void increaseTurnsUsed(){
		turnsUsed ++;
	}
	
	@Override
	public String toString() {
		return name;
	}
	
	
	
	

}
